package com.shenmazong.serverapisafe.filter;

import lombok.Data;

/**
 * @program: server-java-demo
 * @description: ApiLimitException
 * @author: 亮子说编程
 * @create: 2020-12-01 14:23
 **/

@Data
public class ApiLimitException extends RuntimeException {
    private Integer code;
    private String message;

    public ApiLimitException(Integer code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }
}
